<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
        <script>!window.jQuery && document.write('<script src="/static/js/jquery-1.6.2.min.js"><\/script>');</script>
        <title>
                jmessage demo page
        </title>
     </head>
     <body>

       {% if messages %}
            <link rel="stylesheet" type="text/css" href="/static/js/jmessage_django/css/style.css"/>
            <script type="text/javascript" src="/static/js/jmessage_django/jmessage_django.js"></script>
            <ul class="messages">
                {% for message in messages %}
                   <script type="text/javascript">
                       $.jmessage_django({
                       message_type : '{{message.tags}}',
                       message	 : '{{message}}', 
		       timeout	 : 4000
                      }); 
                   </script> 
                {% endfor %}
            </ul>
        {% endif %}

         <div id="footer">
             <P style="text-align:center" >Copyright © All Rights Reserved By 
                <a href="mailto:pengzhao.lh@gmail.com">Gitfree</a>
             </P>
         </div>
     </body>
</html>
